﻿<%@ Page Language="C#" AutoEventWireup="true" Theme="skin_control" CodeFile="YearIntroductionList.aspx.cs"
    Inherits="QuarterPlan_YearIntroductionList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>年计划前言查看</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        /*标黑投影显示的表格线*/td
        {
            border-width: 1px;
            border-color: Black;
        }
        th
        {
            border-width: 1px;
            border-color: Black;
        }
        table
        {
            border-color: Black;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td class="firstbjcolor" colspan="4" style="height: 14px;">
                <span class="currentHere">当前位置:年计划管理-&gt;查看年计划前言</span>
            </td>
        </tr>
        <tr>
            <td style="height: 1; width: 100%;">
            </td>
        </tr>
        <tr>
            <td align="center" style="width: 100%; text-align: justify; background-image: url(../images/secondRow.gif);
                background-repeat: repeat-x; height: 25px;">
                <asp:DropDownList ID="drpDepartment" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpDepartment_SelectedIndexChanged">
                </asp:DropDownList>
                年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpYear_SelectedIndexChanged"
                    SkinID="dropdownlistSkin">
                </asp:DropDownList>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 100%">
                <asp:GridView ID="gdvYearIntroduction" runat="server" AutoGenerateColumns="False"
                    SkinID="gridviewSkinDisplay" DataKeyNames="Id,UploadUrl" Width="100%" EnableModelValidation="True">
                    <Columns>
                        <asp:BoundField DataField="SortId" HeaderText="计划编号">
                            <HeaderStyle Width="5%" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <ItemStyle Width="5%" HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="YearIntroduction" HeaderText="名称">
                            <HeaderStyle Width="40%" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <ItemStyle Width="40%" HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                       
                        <asp:BoundField DataField="Year" HeaderText="所属年份">
                            <HeaderStyle Width="20%" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <ItemStyle Width="20%" HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DepartmentName" HeaderText="所属部门">
                            <HeaderStyle Width="20%" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <ItemStyle Width="20%" HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="UploadUrl" HeaderText="附件路径" Visible="false">
                            <HeaderStyle Width="20%" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <ItemStyle Width="20%" HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:BoundField>

                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:Button ID="btnView" runat="server" OnClick="btnView_Click" Text="查看" />
                            </ItemTemplate>
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="Id" Visible="False" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="center">
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
